package com.example.fragmentest.Beam;
import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;
public class User extends LitePalSupport{

    int id;
    @Column(unique = true,defaultValue ="unknown")
    String name;
    String psd;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPsd() {
        return psd;
    }

    public void setPsd(String psd) {
        this.psd = psd;
    }

    public User(int id, String name, String psd) {
        this.id = id;
        this.name = name;
        this.psd = psd;
    }

    public User() {
    }
}